<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
  <title>B2OA 管理系统</title>
  <link type="text/css" href="/static/css/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
  <link REL="stylesheet" TYPE="text/css" HREF="/static/b24simple.css" /> 
    <style>
    .calender{
      border-collapse: separate;
      border-spacing: 3px;
    }
    .calender .me{height:30px;}
    .calender .bk{font:bold 28px arial;color:#ddd;}
    .calender td{padding:0;}
    .calender th{width:120px;height:20px;}
    .calender td a{display:block;overflow:auto;vertical-align:top;padding:5px;border:solid 1px #eee;color:#999;height:100px;text-decoration:none;font-size:13px;}
    .calender td a:hover{border-color:#666;overflow:none;}
    .calender td.now a{border:solid 1px red;}
    .calender td.now .bk{color:red;}
    .calender td.no{background:#eee;}
    </style>
<script type="text/javascript" src="/static/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="/static/xheditor-1.1.11-zh-cn.min.js"></script>
  </header>
<body>
<div id="wrap" >
<div>
  <div id="logo" >
    <img src="/static/yuanhe.jpg" />
  </div>
  <ul id="menu" >
    <?foreach($topmenu as $u=>$m ):?>
    <li <?=$u==seg(1)?'class="hover"':''?> ><a href="/<?=$u?>/" ><?=$m?></a></li>
    <?endforeach;?>
  </ul>
</div>

<div id="neck" >
  <ul id="submenu" >
    <?foreach($menu as $u=>$m ):?>
    <li <?=( $u==seg(2) || ($u=='index'&&seg(2)==''))?'class="hover"':''?> ><a href="/<?=seg(1)?>/<?=$u?>/" ><?=$m?></a></li>
    <?endforeach;?>
  </ul>
</div>
<div class="box" >
  <?=$content?>
</div>
</div>
</body>
</html>
